// 按需全局引入 vant组件
import Vue from 'vue'
import {
  Button,
  List,
  Cell,
  Tabbar,
  TabbarItem,
  Swipe,
  SwipeItem,
  Field,
  Form,
  Notify,
  Icon,
  Popup,
  Slider,
  Toast,
  Image as VanImage 
} from 'vant'


Vue.use(VanImage);
Vue.use(Slider)
Vue.use(Icon);
Vue.use(Button)
Vue.use(Cell)
Vue.use(List)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Tabbar).use(TabbarItem)
Vue.use(Field)
Vue.use(Form)
Vue.use(Popup)
Vue.use(Toast)
Vue.use(Notify)
Vue.prototype.$toast = Toast;